package com.zhonghui.wms.domain;

import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 智能仓储WMS-运输管理-配送管理明细对象 wms_distribution_details
 *
 * @author zhonghui
 * @date 2023-08-09
 */
@ApiModel("智能仓储WMS-运输管理-配送管理明细对象")
public class WmsDistributionDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private Long id;

    /** 配送id */
    @Excel(name = "配送id")
    @ApiModelProperty("配送id")
    private Long distributionId;

    /** 物料id */
    @Excel(name = "物料id")
    @ApiModelProperty("物料id")
    private Long materialId;

    /** 物料名称 */
    @ApiModelProperty("物料名称")
    @Excel(name = "物料名称")
    private String materialName;

    /** 生产批号 */
    @Excel(name = "生产批号")
    @ApiModelProperty("生产批号")
    private String batchNumber;

    /** 仓库id */
    @Excel(name = "仓库id")
    @ApiModelProperty("仓库id")
    private Long warehouseId;

    /** 库区id */
    @Excel(name = "库区id")
    @ApiModelProperty("库区id")
    private Long warehouseAreaId;

    /** 库位id */
    @Excel(name = "库位id")
    @ApiModelProperty("库区id")
    private Long warehouseSeatId;

    /** 发货数量 */
    @Excel(name = "发货数量")
    @ApiModelProperty("发货数量")
    private Long shipmentQuantity;

    /** 价格 */
    @Excel(name = "价格")
    @ApiModelProperty("价格")
    private BigDecimal price;

    /** 库区列表 */
    @ApiModelProperty("库区列表")
    private List<WmsWarehouseArea> wmsWarehouseAreaList;

    /** 库位列表 */
    @ApiModelProperty("库位列表")
    private List<WmsWarehouseSeat> wmsWarehouseSeatList;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDistributionId(Long distributionId)
    {
        this.distributionId = distributionId;
    }

    public Long getDistributionId()
    {
        return distributionId;
    }
    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId()
    {
        return materialId;
    }
    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }
    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId()
    {
        return warehouseId;
    }
    public void setWarehouseAreaId(Long warehouseAreaId)
    {
        this.warehouseAreaId = warehouseAreaId;
    }

    public Long getWarehouseAreaId()
    {
        return warehouseAreaId;
    }
    public void setWarehouseSeatId(Long warehouseSeatId)
    {
        this.warehouseSeatId = warehouseSeatId;
    }

    public Long getWarehouseSeatId()
    {
        return warehouseSeatId;
    }
    public void setShipmentQuantity(Long shipmentQuantity)
    {
        this.shipmentQuantity = shipmentQuantity;
    }

    public Long getShipmentQuantity()
    {
        return shipmentQuantity;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public List<WmsWarehouseArea> getWmsWarehouseAreaList() {
        return wmsWarehouseAreaList;
    }

    public void setWmsWarehouseAreaList(List<WmsWarehouseArea> wmsWarehouseAreaList) {
        this.wmsWarehouseAreaList = wmsWarehouseAreaList;
    }

    public List<WmsWarehouseSeat> getWmsWarehouseSeatList() {
        return wmsWarehouseSeatList;
    }

    public void setWmsWarehouseSeatList(List<WmsWarehouseSeat> wmsWarehouseSeatList) {
        this.wmsWarehouseSeatList = wmsWarehouseSeatList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("distributionId", getDistributionId())
                .append("materialId", getMaterialId())
                .append("batchNumber", getBatchNumber())
                .append("warehouseId", getWarehouseId())
                .append("warehouseAreaId", getWarehouseAreaId())
                .append("warehouseSeatId", getWarehouseSeatId())
                .append("shipmentQuantity", getShipmentQuantity())
                .append("price", getPrice())
                .append("remark", getRemark())
                .toString();
    }
}
